﻿namespace WebApi;

public class HttpResponseException : Exception
{
    public HttpResponseException(object? value, int statusCode = 500)
    {
        StatusCode = statusCode;
        Value = value;
    }
    public int StatusCode { get; }

    public object? Value { get; set; }
}